<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
 <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>挂号</title>
</head>
<body>
	<h3 style="margin: 0px auto; text-align: center;">欢迎来到注册信息界面</h3>
	<div id="query" style="margin: 0px auto; text-align: center;">
		<form action="PeopleServlet">
			：<select name="department" id="department">
				<option value="-1">全部</option>
				<c:if test="">

				</c:if>
			</select> 科室：<select name="office" id="office">
				<option value="-1">全部</option>

			</select> 医疗卡号：<input type="text" name="medicalCardNum" id="medicalCardNum" />
			<input type="submit" value="提交" />
		</form>
	</div>

	<div
		style="width: 850px; margin: 0px auto; text-align: right; line-height: 35px; height: 35px; padding-right: 50px">
		<a href="">添加</a>&nbsp; &nbsp; <a href="">删除所选</a>
	</div>

	<div id="show">
		<table border="1" width="900" style="margin: 0px auto;">
			<tr>
				<th width="80"><input type="checkbox"
							name="cbkAll" id="cbkAll"  />全选</th>
				<th width="50">序号</th>
				<!--<th width="100">医疗卡号</th>-->
				<th width="50">患者姓名</th>
				<th width="50">性别</th>
				<th width="50">年龄</th>
				<th width="200">开卡日期</th>
				<th width="200" colspan="4">可执行操作</th>
			</tr>

			<c:if test="${not empty requestScope.pageUtil.list }">
				<c:forEach var="People" items="${requestScope.pageUtil.list}">
				
				
				<tr>
					<td width="80"><label> <input type="checkbox"
							name="cbkAll" id="cbkAll" value="${People.peopleId}" />
					</label></td>
					<td width="50">${People.peopleId}</td>
					<td width="100">${People.medicalCardNum}</td>
					<td width="50">${People.peopleName}</td>
					<td width="50">${People.sex}</td>
					<td width="50">${People.age}</td>
					<td width="200"><fmt:formatDate value="${People.registerCard}" /></td>
					<!-- 设置时间 -->
					<td width="50">删除</td>
					<td width="50">修改</td>
			</tr>			
				</c:forEach>
			</c:if>
				
				
			<tr>
				<td colspan="11" align="center" ><a href="PeopleServlet?pageNo=1">首页</a>&nbsp;
					<a href="PeopleServlet?pageNo=${requestScope.pageUtil.pageNo-1}">上一页</a>&nbsp;
					<a href="PeopleServlet?pageNo=${requestScope.pageUtil.pageNo+1}">下一页</a>&nbsp;
					<a href="PeopleServlet?pageNo=${requestScope.pageUtil.pagetotal}">末页</a>&nbsp;&nbsp;
					${requestScope.pageUtil.pageNo}/ ${requestScope.pageUtil.pagetotal}页 &nbsp; <input name="pageNumber" type="text" id="pageNumber"
					size="5" /> <input type="button" name="btnQuery2" id="btnQuery2"
					value="GO" /></td>
			</tr>
		</table>



	</div>







</body>
</html>